package com.xjoyt.pay.gateway.controllers;

import java.util.Date;

import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
@RequestMapping("system")
public class SystemController extends GatewayAbstractController {

    /**
     * 回去时间戳
     * 
     * @param id
     * @return
     */
    @RequestMapping("getNowTime")
    public long getNowTime() {
        return (new Date()).getTime();
    }
}
